package com.github.dengmin.mysql.model;

import java.io.Serializable;
import java.util.List;

/**
 * @Author dengmin
 * @Created 2020/6/30 下午2:18
 */
public class Pagination<T> implements Serializable {
    private static final long serialVersionUID = 1L;
    private List<T> data;
    private int total;

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }
}
